import whisper
import ssl
import warnings

ssl._create_default_https_context = ssl._create_unverified_context
warnings.filterwarnings("ignore")
model = whisper.load_model("small")
result = model.transcribe(podcase file name)
textfile = open("result.txt", 'w')
textfile.write(str(result))
textfile.close()